<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/8/3
  Time: 21:39
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>JSTL</title>
  </head>
  <body>
        <%--
            request.setAttribute("name","zhangsan");
        --%>
        <c:set var="name" value="zhangsan" scope="request" />
        ${requestScope.name}
        <c:set target="${requestScope.user}" property="name" value="zs"/>
        ${requestScope.name}
        <c:out value="${requestScope.name}" default="zs"/>
        <c:out value='<a href="https://www.baidu.com">百度</a>' escapeXml="true"/>
        <c:remove var="a" scope="request"/>
  </body>
</html>
